#include "visit.h"

variant<int, float, string> visit_relExp(ASTNode* node, SymbolTable* s, Module* m, BasicBlock* bb) {
    if (!node){
        variant<int, float, string> res;
        res = 0;
        return res;
    }

    ASTNode* child = node->children[0];
    if (child->type == "addExp") {
        // 处理加法表达式
        variant<int, float, string> res = visit_addExp(node->children[0], s, m, bb);
        visit_relExpAtom(node->children[1], s, bb);
        return res;
    } 
}